package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 二维码对象 iot_qrcode
 * 
 * @author ruoyi
 * @date 2021-05-18
 */
public class IotQrcode extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 二维码唯一标识 */
    private Long id;

    /** 二维码Code */
    @Excel(name = "二维码Code")
    private String code;

    /** 地址 */
    @Excel(name = "地址")
    private String link;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setLink(String link) 
    {
        this.link = link;
    }

    public String getLink() 
    {
        return link;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("code", getCode())
            .append("link", getLink())
            .toString();
    }
}
